package com.chainyoung.common.base;

import java.io.Serializable;

public class BaseResponse<T> implements Serializable{

    private int code;

    private T data;

    private String error;

    private String error_code;


    public int getCode() {
        return code;
    }


    public T getData() {
        return data;
    }

    public String getError() {
        return error;
    }


    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public void setData(T data) {
        this.data = data;
    }
}
